<extend name="./Tm/Dt/User_common.html" />

<block name="main">
	<div class="right_main">
		<div class="panel panel-default">
		  	<div class="panel-heading">
		  		<i class="inde_icon icon_jjmx"></i>申请记录</span>
		  	</div>
		  	<div class="panel-body">
				<div class="row-fluid">
					<div class="span12">
						<div class="tabbable" id="tabs-402357">
							<ul class="nav nav-tabs">
								<li class="active">
									<a href="#panel-401018" data-toggle="tab">申请记录</a>
								</li>
								<li>
									<a href="#panel-862181" data-toggle="tab">申请退单</a>
								</li>
			
							</ul>
							<div class="tab-content">
								<div class="tab-pane " style="margin-top: 10px;" id="panel-862181">
									<div class="h-30"></div>
									<form class="form-horizontal" action="/user/sq_td" method="post">
										<div class="form-group">
											<label for="inputEmail3" class="col-sm-2 control-label">会员账户：</label>
											<div class="col-sm-3">
												<p class="pad-top-8">{$Think.session.username}</p>
											</div>
										</div>
										<div class="form-group">
											<label for="inputEmail3" class="col-sm-2 control-label">投资额：</label>
											<div class="col-sm-3">
												<p class="pad-top-8">{$Think.session.price}</p>
											</div>
										</div>
										<div class="form-group">
											<label for="inputEmail3" class="col-sm-2 control-label">直接提现钱包（可提现额度）：</label>
											<div class="col-sm-3">
												<p class="pad-top-8">{$Think.session.ktx_fh}</p>
											</div>
										</div>
										<div class="form-group">
											<label for="inputEmail3" class="col-sm-2 control-label">开户姓名：<span style="color:red;">*</span></label>
											<div class="col-sm-3">
												<input type="text" class="form-control" value="{$Think.session.khxm}" name="khxm">
											</div>
										</div>
										<div class="form-group">
											<label for="inputPassword3" class="col-sm-2 control-label">银行卡号：<span style="color:red;">*</span></label>
											<div class="col-sm-3">
												<input type="text" class="form-control" value="{$Think.session.yhkh}" name="yhkh">
											</div>
										</div>
										<div class="form-group">
											<label for="inputPassword3" class="col-sm-2 control-label">开户行：<span style="color:red;">*</span></label>
											<div class="col-sm-3">
												<input type="text" class="form-control" value="{$Think.session.khyh}" name="khyh">
											</div>
										</div>
										<div class="form-group">
											<label for="inputPassword3" class="col-sm-2 control-label">支行信息：<span style="color:red;">*</span></label>
											<div class="col-sm-3">
												<input type="text" class="form-control" value="{$Think.session.zhhxx}" name="zhhxx">
											</div>
											<span style="color:red;line-height:34px;">XX省XX市XX分/支行</span>
										</div>
										<div class="form-group">
											<div class="col-sm-offset-2 col-sm-3">
												<button type="submit" class="btn btn-primary">提交</button>
											</div>
										</div>
									</form>
								</div>
								<div class="tab-pane active" id="panel-401018">
									<div class="h-30"></div>
									<div class="table-responsive">
										<table class="table">
											<tr>
												<th>申请ID</th>
												<th>投资额</th>
												<th>直接提现钱包（可提现额度）</th>
												<th>申请日期</th>
												<th>状态</th>
											</tr>
											<foreach name='list' item='v'>
												<tr>
													<td>{$v.id}</td>
													<td>{$v.price}</td>
													<td>{$v.cashmoney}</td>
													<td>{$v.sqtime|date="Y-m-d H:i:s",###}</td>
													<td>
														<if condition="$v.status eq '1'">待审核</if>
														<if condition="$v.status eq '2'">已通过</if>
													</td>
												</tr>
											</foreach>
										</table>
									</div>
									<div aria-label="Page navigation" class="f-right">
										<ul class="pagination">
											{$page}
										</ul>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</block>